<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入样式 -->
    <!-- import CSS -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->

    <link rel="stylesheet" href="./element.css">
    <link rel="stylesheet" href="./common.css">
    <!-- /* 当屏幕的宽度大于等于400px的时候，应用 mini.css */ -->
    <!-- <link rel="stylesheet" type="text/css" href="mini.css" media="screen and (min-width: 400px)"> -->
    <!-- /* 当屏幕的宽度大于600 小于800px时，应用small.css */ -->
    <!-- <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 600px) and (max-width: 800px)"> -->
    <!-- /* 当屏幕的宽度大于800 小于1100px时，应用midium.css */ -->
    <!-- <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 800px) and (max-width: 1100px)"> -->

    <style>
        *{margin: 0;padding: 0;}
        .el-image__inner{
            vertical-align:middle
        }
        h2{font-size: 44px;text-align: center;font-weight: normal;margin-bottom: 56px;}
        .el-input-group__append{background-color: #0068b5;border:0;border-radius: 0;width: 170px;text-align: center;box-sizing: border-box;}
        .el-input-group__append .whiteColor{color: #fff;}
        .searchBox{border:3px solid #0068b5;box-sizing: border-box;}
        .searchBox .el-input__inner{height: 72px;font-size: 20px;text-indent: 1em;}
        .selectBox{display: flex;margin: 70px auto;}.selectBox .el-select{width: 100%;height: 72px;border: 2px solid #e3e3e3;box-sizing: border-box;}
        .selectBox .el-select .el-input{height: 100%;}
        .selectBox .el-select .el-input input{height: 100%;border: 0;border-radius: 0;color: #565656;font-size: 20px;}
        .el-select-dropdown__wrap { max-height: 196px;padding: 20px;box-sizing: border-box;}
        .el-select-dropdown__item{font-size: 21px;height: 38px;line-height: 38px;margin-bottom: 10px;}
        .tableBox{background-color: transparent;margin-bottom: 130px;}
        .tableBox *{background-color: transparent !important;}
        .tableBox .cell{line-height: 80px;color: #3e3e3e;font-size: 16px;}
        .tableBox.el-table .el-table__header .cell{color: #0068b5;font-size: 20px;overflow: visible;white-space: nowrap;}
        .tableBox.el-table tr td:nth-child(4),.tableBox.el-table tr th:nth-child(4){border-bottom: 0;}
        /* .tableBox.el-table{margin-bottom: 20px;} */
        .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{border-bottom: 2px solid #c1c1c1;}
        .has-gutter th.el-table__cell.is-leaf{border-bottom: 0;}
        .el-table .cell .iconfont{font-size: 45px;color: #000;    position: absolute;
            bottom: -32px;}
        .el-table .cell{overflow: visible;}
        .el-table,.el-table__body-wrapper{overflow: visible;}
        .el-table--border::after, .el-table--group::after, .el-table::before{background: transparent;}
        .supportContainer{min-height: calc(100vh - 300px);}
        @media screen and (max-width: 1440px) {
            .el-carousel__container{height: 465px;}
        }
    </style>
</head>
<body>
    <div id="app" class="mainBg"  v-cloak>
        <!-- 导航栏 -->
        <!-- <my-header :page-id="5">
            <my-drawer></my-drawer>     
        </my-header> -->

        <div>
            <el-row class="headerBox" :gutter="20" :class="{'mainBg':pageId=='detail','detail1':true}">
                <el-col :span="4">
                    <div class="el-menu-item lineHeight34">
                        <a href="index.html"><el-image :src="'./img/logo1.png'" :fit="'fit'"></el-image></a>
                    </div>
                </el-col>
                <el-col :span="16"><div class="grid-content bg-purple">
                    <div class="myNav el-menu--horizontal el-menu">
                        <template v-for="item in list">
                        <div :key="item.id" slot="reference" class="el-menu-item" @click="changePage(item)" :class="{'actived':pageId===item.id}">
                            <span class="inlineBlock">{{item.text}}</span>                
                            <!-- <slot v-if="item.id===1"></slot> -->
                            <div class="drawer">
                                <el-row type="flex" v-for="j in 2" :key="j" justify="center">
                                    <el-col v-for="i in 4" :key="i" :span="5"><div class="grid-content bg-purple">
                                        <!-- <a href="index.html?page=1"> -->
                                            <a class="productItem" href="detail.html">
                                                <el-image src="./img/compute.png"></el-image>
                                                <div class="describe alignCenter">MAX N95 <span class="block">Intel® Alder Lake-N95 Processor</span></div>
                                            </a>
                                            <!-- </a> -->
                                    </div></el-col>
                                </el-row>
                            </div>
                        </div>
                        </template>
                    </div></div>
                </el-col>
                <el-col class="rightBox" :span="4">
                    <div class="el-menu-item mainColor alignRight">
                        <span class="pointer" @click="changeLanguage(lang)"><span class="iconfont">&#xe623;</span>{{lang?"EN":'中文'}}</span>
                    </div></el-col>
            </el-row>
            <div style="height:82px;width:100%"></div></div>
        <el-row class="supportContainer" :gutter="0" style="margin:0;margin-top: 80px;">
            <el-col :span="15" style="float: none;margin: auto;">
                <h2 class="mainColor">{{language['Download']}}</h2>
                <el-input :placeholder="language['searchPlaceholder']" v-model="searchText" class="searchBox">
                    <span slot="append" class="iconfont bold whiteColor" @click="search" style="font-size: 48px;">&#xe609;</span>
                </el-input>
                <el-row :gutter="20" class="selectBox">
                    <el-col :span="12" style="float: none;margin: auto;">
                        <el-select v-model="selectValue1" @change="changeFun" filterable :placeholder="language['selectPlcaceholder']">
                            <el-option
                              v-for="item in lines"
                              :key="item.value"
                              :label="item.label"
                              :value="item.value">
                            </el-option>
                          </el-select>
                    </el-col>
                    <el-col :span="12" style="float: none;margin: auto;">
                        <el-select @change="changeFun" v-model="selectValue1" filterable :placeholder="language['selectPlcaceholder']">
                            <el-option
                              v-for="item in products"
                              :key="item.value"
                              :label="item.label"
                              :value="item.value">
                            </el-option>
                          </el-select>
                    </el-col>
                </el-row>
                <el-table class="tableBox" :data="tableData" style="width: 100%">
                    <el-table-column prop="date" :label="language.products"></el-table-column>
                    <el-table-column prop="name" :label="language.describe">
                        <template slot-scope="scope">
                            <p class="ellipsis">测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试</p>
                        </template>
                    </el-table-column>
                    <el-table-column prop="address" :label="language.updateTime"> </el-table-column>
                    <el-table-column prop="address" :label="language.download" width="130" align="center">
                        <template slot-scope="scope">
                            <span class="iconfont pointer" @click="downLoad(scope.row)">&#xe607;</span>
                        </template>
                    </el-table-column>
                </el-table>
            </el-col>
        </el-row>
        <my-footer></my-footer>
        
    </div>
    <script src="./localLang.js"></script>
    <script src="js/vue.js"></script>
    <script src="js/element-ui.js"></script>
    <script src="./drawer.js"></script>
    <script src="./header.js"></script>
    <script src="./footer.js"></script>
    <script>
        new Vue({
            el: '#app',
            data: {
                draggable: true,
                pageId:5,
                resizable: false,
                index: 0,
                visible:false,
                tableData:[{
                    id:''
                },{},{}],
                lang:Number(localStorage.getItem('langType')),
                lines:[
                    {value:'1',label:'测试1'},
                    {value:'2',label:'测试2'},
                    {value:'3',label:'测试3'},
                ],
                products:[
                    {value:'1',label:'测试1'},
                    {value:'2',label:'测试2'},
                    {value:'3',label:'测试3'},
                ],
                searchText:'',
                changeVlaue1:'',
                changeValue2:''
            },
            computed:{
                language(){
                    return LANG[this.lang]
                },
                list(){
                    return [
                    {id:1,text:'MAX N',href:''},
                    {id:2,text:'MAX PRO',href:'detail.html'},
                    {id:3,text:LANG[this.lang].quality,href:'qualification.html'},
                    {id:4,text:LANG[this.lang].about,href:'about.html'},
                    {id:5,text:LANG[this.lang].support,href:'support.html'},
                ]},
            },
            mounted(){
                
            },
            methods: {
                changePage(item){
                    // $emit('changePage',id)
                    if(item.id===1)return
                    window.location.href=item.href
                },
                changeLanguage(){
                    this.lang = Number(!Number(localStorage.getItem('langType')));
                    // this.$parent.parentChangeLang(this.lang?'zh-CN':'en')
                    localStorage.setItem('langType',this.lang)
                    window.location.reload()
                },
                search(){
                    console.log(this.searchText);//搜索词
                },
                changeFun(){//下拉修改事件this.changeValue1,this.changeVlaue2

                },
                downLoad(item){

                }
            }   
        });
      </script>
</body>
</html>